
package com.insigma.business.qrcode.soldier.dao;



import com.insigma.business.qrcode.soldier.dto.PlacementUnitInfoBSearcher;
import com.insigma.business.qrcode.soldier.entity.PlacementUnitInfoDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface PlacementUnitInfoDao {

    
    List<PlacementUnitInfoDO> search(final PlacementUnitInfoBSearcher innerSearcher);

    
    PlacementUnitInfoDO get(final String id);

    
    Integer insert(final PlacementUnitInfoDO placementUnitInfoDO);

    
    Integer update(final PlacementUnitInfoDO placementUnitInfoDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    PlacementUnitInfoDO getByName(String unitName);
}
